package com.example.springvue.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

@Data
public class AuthRule {


    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer pid;
    private String url;
    private String title;
    private String icon;
    private Integer modId;
    private String component;
    private Integer status;
    private String  remark;
    private Integer sort;
    private Integer isMenu;
    private Integer isNotDel;
    private String redirect;
    private Timestamp updatetime;
    private Timestamp createtime;

//    /**
//     * 子节点
//     */
//    @TableField(exist = false)
//    public List<Map< String, Object >> children;
}
